package au.com.twosquared.tools;

public class Item {
	
	private int ID;
	private String name;
	private int cost;
	private int amount;
	private String description;
	
	public Item(int ID, String name, int cost, int amount, String description){
		this.ID = ID;
		this.name = name;
		this.cost = cost;
		this.amount = amount;
		this.description = description;
	}
	
	public int getID(){
		return ID;
	}
	
	public int getCost(){
		return cost;
	}
	
	public String getName(){
		return name;
	}
	
	public int getAmount(){
		return amount;
	}
	
	public String getDescription(){
		return description;
	}
	
	public void setID(int i){
		ID = i;
	}
	
	public void setCost(int c){
		cost = c;
	}
	
	public void addAmount(int a){
		amount += a;
	}
	
	public void useAmount(int a){
		amount -= a;
	}
	
	public void setDescription(String s){
		description = s;
	}

}
